package com.bjut.dao;

import java.util.List;
import com.bjut.domain.Position;

public interface PositionDao {
	public  void save(Position position);
	public  Position get(int id);
	public  void delete(Position position);
	public  void delete(int id);
	public  void update(Position position);
	public  Position findPositionByName(String name);
	public  List<Position> findAll();
	public  List<Position> findAllByPage(int pageNo , int pageSize);
	public  List<Position> findByDepartmentAndPage(int department_id,int pageNo , int pageSize);
	public  long getCount();
	public  long getCountByDepartment(int department_id);
}
